package ch.fusun.baron.core.command;

/**
 * All system changing actions that can be performed by server and client have
 * to be subclasses of this very super class
 * 
 * @author dezanets
 */
public abstract class GameCommand {

	/**
	 * Is the execution allowed at this time?
	 * 
	 * @return is allowed?
	 */
	public abstract boolean isAllowed();

	/**
	 * Executes the command
	 */
	public abstract void execute();
}
